package com.xiaoma.mapper;

import com.xiaoma.pojo.FileUploadRequestDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FileMapper {
    boolean insertFile(FileUploadRequestDTO fileUploadRequestDTO);
    FileUploadRequestDTO  queryByMd5(FileUploadRequestDTO fileUploadRequestDTO);
    FileUploadRequestDTO   queryByName(String name);
    boolean  updateByName (FileUploadRequestDTO fileUploadRequestDTO);
}
